<?php 
/* 减肥产品模板
http://girl-city.com/index.htm
 */
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-CN">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo htmlspecialchars($title); ?></title>
<meta name="robots" content="index,follow" />
<meta name="description" content="<?php echo htmlspecialchars($description); ?>" /> 
<meta name="keywords" content="<?php echo htmlspecialchars($keywords); ?>" /> 
<link rel="stylesheet" href="img/skin2.css" type="text/css" media="screen" />
<?php if(!empty($style)): ?>
<style type="text/css"><?php echo $style; ?></style> 
<?php endif; ?>
</head>
<body>

<div id='header'> 
  <table width="972" border="0" cellspacing="0" cellpadding="0"> 
    <tr> 
      <td height="35" bgcolor="#FFFFFF"><table width="972" height="30" border="0" cellpadding="0" cellspacing="0"> 
          <tr align="center" valign="middle">
<?php foreach($tabs as $tab): 
    if(true==$tab['checked']){
        $tab['color'] = '#FF0000';
    }
?> 
    <td width="20%" bgcolor="<?php echo $tab['color']; ?>"><a href="<?php echo $tab['uri']; ?>"><font color="#000000" size="4"><strong><?php echo htmlspecialchars($tab['name']); ?></strong></font></a></td> 
<?php endforeach; ?>
          </tr> 
        </table></td> 
    </tr> 
    <tr> 
    <td><img src="<?php echo $backimg; ?>" alt="<?php echo htmlspecialchars($topname); ?>" width="972" height="300"></td> 
    </tr> 
   
 <tr> 
      <td height="35" bgcolor="#FFFFFF"><table width="972" height="30" border="0" cellpadding="0" cellspacing="0"> 
          <tr align="center" valign="middle"> 
<?php foreach($tabs as $tab): 
    if(true==$tab['checked']){
        $tab['color'] = '#FF0000';
    }
?>
    <td width="20%" bgcolor="<?php echo $tab['color']; ?>"><a href="<?php echo $tab['uri']; ?>"><font color="#000000" size="4"><strong><?php echo htmlspecialchars($tab['name']); ?></strong></font></a></td> 
<?php endforeach; ?>
          </tr> 
        </table></td> 
    </tr> 
  </table> 
  </div><!-- #header --> 

  <div id="mainbox">
<?php 
    $count = 1;
    foreach($top_items as $it): 
        $ul_css = 'ul_one';
        $li_css = 'li_Number1-3';
        if( $count%2 == 0 ){
            $ul_css = 'ul_two';
        }
        if($count>3){
            $li_css = 'li_Number4-10';
        }

?>
  <div class="<?php echo $ul_css; ?>"> 
    <div class="<?php echo $li_css; ?>"><?php echo $count; ?></div> 
        <div class="li_Pic_one"><a href="<?php echo $it['click_url']; ?>" target="_blank"><img src="<?php echo $it['pic_url']; ?>_310x310.jpg" alt="<?php echo htmlspecialchars($it['title']); ?> width="310" height="310" border="0" class="pic"></a></div>
        <div class="li_Content_one">
        <h3><a href="<?php echo $it['click_url']; ?>" target="_blank"><?php echo htmlspecialchars($it['title']); ?></a></h3>
        促销价：<span class="Price_one"><?php echo $it['price']; ?>元</span><br>
        <a href="<?php echo $it['click_url']; ?>" target="_blank"><img style="MARGIN-TOP: 7px" border="0" alt="产品详情" src="img/anniu.jpg"></a></div>
        <div class="li_Sale_two">30天售出: <br> 
            <span class="Price_one"><a href="<?php echo $it['click_url']; ?>" target="_blank"><?php echo $it['volume']; ?></a></span>件</div>
            <div class="li_Type_one">卖家店铺：<a href="<?php echo $it['click_url']; ?>" target="_blank"><?php echo htmlspecialchars($it['nick']); ?></a><br>
            信用：<img src="<?php echo $it['seller_credit_ico']; ?>" /><br>产品所属：最佳[<?php echo htmlspecialchars($topname); ?>]</div>
</div>
<?php 
        //var_Dump($it);exit;
        $count ++;
endforeach; ?>

<?php if(!empty($ads)): ?>
<center><?php echo $ads; ?></center>
<?php endif; ?>

<table width="950" height="30" border="0" cellpadding="0" cellspacing="0"> 
    <tbody><tr align="center" valign="middle"> 
<?php foreach($tabs as $tab): 
    if(true==$tab['checked']){
        $tab['color'] = '#FF0000';
    }
?> 
    <td width="20%" bgcolor="<?php echo $tab['color']; ?>"><a href="<?php echo $tab['uri']; ?>"><font color="#000000" size="4"><strong><?php echo htmlspecialchars($tab['name']); ?></strong></font></a></td> 
<?php endforeach; ?>
    </tr> 
  </tbody></table> 


<div id="footer"><img src="img/copyright.gif"><br>本排行榜是通过ISO算法所得，数据源主要来自国内几大药品评估网站。<br>
    <div class="foot_menu"><a href="http://girl-city.com/">隔离霜哪个牌子好</a>|<a href="http://girl-city.com/beauty">什么减肥药好用</a>|<a href="http://girl-city.com/beauty">2010年最畅销的减肥产品排行榜</a></div>

    本页面由 <b><a title="最有效的减肥药" href="index.htm">减肥产品排行榜-最好的减肥药</a></b> 版权所有　<a href="http://www.miibeian.gov.cn/" target="_blank">京ICP备09110752号</a><br> 
    技术产品所属： <a href="http://girl-city.com">城市女孩</a> -<a href="http://adwords.google.com/" target="_blank">Google 
Adwords</a> - <a href="http://index.baidu.com/" target="_blank">百度搜索风云榜 </a> - <a href="http://www.youdao.com/" target="_blank">有道购物搜索</a> - <a href="http://www.alimama.com/" target="_blank">阿里妈妈</a><br> 
  </div> 
</div><!-- #mainbox -->

<?php if(!empty($script)): ?>
    <?php echo $script; ?>
<?php endif; ?>
</body>
</html>
